package com.book.common.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Description：
 *
 * @Author： leo.xiong
 * @CreateDate： 2020/12/31 16:59
 * @Email： leo.xiong@suyun360.com
 * @Since：
 */
@Data
public abstract class BaseDto implements Serializable {
    private static final long serialVersionUID = -7949489851009792078L;

    @ApiModelProperty(value = "主键ID")
    private Long id;
    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数", required = true)
    protected int pageSize = 30;
    /**
     * 查询页数
     */
    @ApiModelProperty(value = "查询页数", required = true)
    protected int pageNo = 1;
}
